Skip to content

RxCommand.CanCommandExecute property

Defined in

Type: RxCommand Namespace: ReactiveMarbles.Command Assembly: ReactiveMarbles.Command.dll

Applies to

netstandard2.0

public IObservable<bool> CanCommandExecute { get; }

View source

Inherited documentation

These docs were inherited from IRxCommand. The member doesn't override them on this type.

Summary: Gets an observable whose value indicates whether the command can currently execute.

Returns: IObservable

Remarks

The value provided by this observable is governed both by any canExecute observable provided during command creation, as well as the current execution status of the command. A command that is currently executing will always yield false from this observable, even if the canExecute pipeline is currently true.